<?php
	
$tel = $_REQUEST['tel']	;
$pas = $_REQUEST['pas'];
$con = mysqli_connect('localhost','root','','friday');
mysqli_set_charset($con,'utf8');
      $sql ="update accountstate set password='{$pas}' where telphone='{$tel}' limit 1";
	  $result = mysqli_query($con, $sql);
		echo '修改成功';
?>